<?php
/**
 * View  LaFabbrica.org
 * 
 * @author     luigi.pastore (gigi@la-fabbrica.org)
 * @created    17-mag-2011
 * @package    LaFabbrica
 * @copyright  Copyright (c) 2011 Luigi Pastore
 */
?>

<script type="text/javascript">
    //<![CDATA[
    
    $(document).ready(function(){
	var pagination = $('#content').pagination({
	    'targetUrl' : '/admin/ajax/list/posts',
	    'orderBy' : 'post_id:ASC'
	});
	

    });

    //]]>
</script>
<div class="info">
    <h2>...</h2>
    <div>...</div>
</div>
<form>

    <ul>
	<li class="addnew">
	    <a class="button" href="nuovo">
		<img src="/images/admin/add-new.png" />Nuovo Post
	    </a>
	</li>
<!--	<li>
	    <div id="loading">&nbsp;</div>
	</li>-->
	<li id="fo2li107" class="likert col4">
	    <table cellspacing="0">
		<caption id="title107">
		    Tot: <strong><?php echo count($this->posts)?></strong> post.
		</caption>
		<thead>
		    <tr>
			<th>&nbsp;</th>
			<td>Categoria</td>
			<td>Autore</td>
			<td>Data</td>
			<td>&nbsp;</td>
		    </tr>
		    <tr>
			<td colspan="5" class="pagination">
			    <div class="paginator">
				<span class="prev">
				    <a href="javascript: void(0);">&nbsp;</a>
				</span>
<!--				<span class="pager">
				    <ul>
					<li>1</li>
					<li>2</li>
					<li>3</li>
				    </ul>
				</span>-->
				<span class="loader">Sto caricando...</span>
				<span class="next">
				    <a href="javascript: void(0);">&nbsp;</a>
				</span>
			    </div>
			</td>
		    </tr>
		</thead>
		<tbody id="content">
<!--		    Questo contenuto verrÃƒÂ  rimpiazzato dalla paginazione-->
		</tbody>
		<tfoot>
		    <tr>
			<td colspan="5" class="pagination">
			    <div class="paginator">
				<span class="prev">
				    <a href="javascript: void(0);">&nbsp;</a>
				</span>
				<div class="pagercontainer">
<!--				    <div class="pager">
				    <ul id="prova_lista" dir="ltr">
					<li><a href="">1</a></li>
					<li><a href="">2</a></li>
					<li><a href="">3</a></li>

				    </ul>
					</div>-->
<!--				    <ul>
					<li><a href="">1</a></li>
					<li><a href="">2</a></li>
					<li><a href="">3</a></li>
				    </ul>-->
				</div>
				<span class="next">
				    <a href="javascript: void(0);">&nbsp;</a>
				</span>
			    </div>
			</td>
		    </tr>
		</tfoot>
	    </table>
	</li>
    </ul>
</form>